package testJdk.anno.demo;

/**
 * @version 1.0.0
 * Created by cyd on 2024-07-29 16:46:08
 * @ClassName : testJdk.anno.demo.Persion
 * @Description : 类描述
 */
public class Person {

    private void getUp() {
        System.out.println("起床了");
    }

    private void eat() {
        System.out.println("吃饭了");
    }

    @MyTest(exec = "yes")
    private void work() {
        System.out.println("工作了");
    }

    @MyTest(exec = "no")
    private void sleep() {
        System.out.println("睡觉了");
    }
}
